package org.rockyang.dike.model;


import org.rockyang.dike.surpport.ShiroxPermission;

/**
 * @author yangjian
 * @since 17-12-6.
 */
public class Permission implements ShiroxPermission {

	private String name;

	public Permission() {}

	public Permission(String name) {
		this.name = name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String getPermissionValue() {
		return this.name;
	}
}
